<?php
include ("../model/connect.php");
include ("../model/Staff/class-trainningprogram.php");

$trnpid = $_POST['trnpid'];
$trnpname = $_POST['trnpname'];
$trnpdate = $_POST['trnpdate'];


$trnppro = new TrainningProgram();
$trnppro->editTrainningProgram($trnpid,$trnpname,$trnpdate);
mysql_close($conn);
header("location:http:/educational/staff-index.php?p=staff-man-train-pro");


?>